package com.dgut.demo.service.impl;

import com.dgut.demo.bean.EmployeesCounts;
import com.dgut.demo.mapper.StatisticsMapper;
import com.dgut.demo.service.StatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther 虎
 * @Data 2021/3/2 16:17
 * @Version 1.0
 */
@Service
public class StatisticsServiceImpl implements StatisticsService {
    @Autowired
    private StatisticsMapper statisticsMapper;

    @Override
    public EmployeesCounts getAllEmployeesCounts() {
        return statisticsMapper.getAllEmployeesCounts();
    }
}
